﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sample.Novel.Application.Contracts.Authors
{
    /// <summary>
    /// 创建新的作家
    /// </summary>
    public class NewAuthorInput
    {
        [Required]
        [StringLength(3,ErrorMessage = "长度不能超过30")]
        public string Name { get; set; }
        public string Description { get; set; }
    }
}
